inherited frmRel_ListBoletim: TfrmRel_ListBoletim
  Left = 388
  Top = 89
  Caption = 'Listagem de Boletins'
  ClientHeight = 589
  ClientWidth = 684
  OldCreateOrder = True
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel1: TPanel
    Width = 684
    Height = 416
    object Label3: TLabel
      Left = 27
      Top = 93
      Width = 95
      Height = 14
      Caption = 'Filtrar por nome: '
      Visible = False
    end
    object GroupBox1: TGroupBox
      Left = 8
      Top = 1
      Width = 241
      Height = 87
      Caption = 'Per'#237'odo Previsto p/ Finaliza'#231#227'o'
      TabOrder = 0
      OnExit = ckTipoExit
      object Label1: TLabel
        Left = 39
        Top = 21
        Width = 57
        Height = 14
        Caption = 'Data Inicial'
      end
      object Label2: TLabel
        Left = 45
        Top = 52
        Width = 51
        Height = 14
        Caption = 'Data Final'
      end
      object ed_dataini: TDateEdit
        Left = 103
        Top = 20
        Width = 121
        Height = 21
        NumGlyphs = 2
        TabOrder = 0
      end
      object ed_datafim: TDateEdit
        Left = 103
        Top = 52
        Width = 121
        Height = 21
        NumGlyphs = 2
        TabOrder = 1
      end
    end
    object ckTipo: TRadioGroup
      Left = 269
      Top = 1
      Width = 247
      Height = 87
      Caption = 'Boletim: '
      ItemIndex = 0
      Items.Strings = (
        'Todos'
        'Boletins Pendentes'
        'Boletins Parcialmente Produzidos'
        'Boletins Finalizados'
        'Boletins Pendentes/Parc. Produzidos')
      TabOrder = 1
      OnClick = ckTipoExit
      OnExit = ckTipoExit
    end
    object DBGrid1: TDBGrid
      Left = 8
      Top = 140
      Width = 665
      Height = 120
      BorderStyle = bsNone
      DataSource = DS
      Options = [dgTitles, dgIndicator, dgColumnResize, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
      TabOrder = 6
      TitleFont.Charset = ANSI_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'Arial'
      TitleFont.Style = [fsBold]
      OnTitleClick = DBGrid1TitleClick
      Columns = <
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'PROD_NUMERO'
          Title.Alignment = taCenter
          Title.Caption = 'Boletim'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'PROD_OBS'
          Title.Caption = ' '
          Width = 322
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'PROD_NOME'
          Title.Caption = 'Nome'
          Visible = False
        end
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'PROD_DATACAD'
          Title.Alignment = taCenter
          Title.Caption = 'Dt. Cadastro'
          Width = 87
          Visible = True
        end>
    end
    object Panel4: TPanel
      Left = 8
      Top = 114
      Width = 665
      Height = 23
      BevelInner = bvLowered
      Caption = 'Boletins'
      Color = clWhite
      TabOrder = 7
    end
    object Panel5: TPanel
      Left = 8
      Top = 266
      Width = 665
      Height = 23
      BevelInner = bvLowered
      Caption = 'Itens'
      Color = clWhite
      TabOrder = 8
    end
    object DBGrid2: TDBGrid
      Left = 8
      Top = 292
      Width = 665
      Height = 120
      BorderStyle = bsNone
      DataSource = DSIT
      Options = [dgTitles, dgIndicator, dgColumnResize, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
      TabOrder = 9
      TitleFont.Charset = ANSI_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'Arial'
      TitleFont.Style = [fsBold]
      Columns = <
        item
          Expanded = False
          FieldName = 'PRO_CODIGO'
          Title.Caption = 'Produto'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'PRO_NOME'
          Title.Caption = ' '
          Width = 144
          Visible = True
        end
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'ITP_QUANTIDADE'
          Title.Alignment = taCenter
          Title.Caption = 'Qtde'
          Visible = True
        end
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'ITP_QTDEPRODUZIDA'
          Title.Alignment = taCenter
          Title.Caption = 'Qtde Produzida'
          Width = 101
          Visible = True
        end
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'SALDO'
          Title.Alignment = taCenter
          Title.Caption = 'a Produzir'
          Width = 70
          Visible = True
        end>
    end
    object ckPecas: TCheckBox
      Left = 520
      Top = 9
      Width = 129
      Height = 17
      Caption = 'Selecionar pe'#231'as'
      Checked = True
      State = cbChecked
      TabOrder = 2
      OnClick = ckPecasClick
    end
    object ckVolumes: TCheckBox
      Left = 520
      Top = 24
      Width = 129
      Height = 17
      Caption = 'Selecionar volumes'
      TabOrder = 3
      OnClick = ckVolumesClick
    end
    object cmbxNome: TComboBox
      Left = 127
      Top = 91
      Width = 274
      Height = 22
      BevelKind = bkFlat
      Style = csDropDownList
      ItemHeight = 14
      TabOrder = 5
      Visible = False
      OnChange = cmbxNomeChange
    end
    object ckResumo: TCheckBox
      Left = 520
      Top = 40
      Width = 129
      Height = 17
      Caption = 'Imprimir Resumo'
      TabOrder = 4
      OnClick = ckVolumesClick
    end
  end
  inherited Panel2: TPanel
    Top = 522
    Width = 684
    inherited btncancelar1: TBitBtn
      Left = 292
    end
    inherited btnfechar1: TBitBtn
      Left = 576
    end
    inherited bimprimir: TFlatButton
      Enabled = True
      OnClick = bimprimirClick
    end
    inherited btncancelar: TFlatButton
      Left = 286
      OnClick = btncancelarClick
    end
    inherited btnfechar: TFlatButton
      Left = 564
    end
  end
  inherited sb: TStatusBar
    Top = 570
    Width = 684
  end
  inherited Panel3: TPanel
    Width = 684
    inherited ListaEmp: TCheckListBox
      Width = 665
    end
  end
  object DS: TDataSource
    DataSet = CDS
    Left = 16
    Top = 266
  end
  object DSIT: TDataSource
    DataSet = tqIt
    Left = 8
    Top = 418
  end
  object tqIt: TQuery
    DatabaseName = 'Industrial'
    DataSource = DS
    SQL.Strings = (
      
        'Select i.*, pro_nome, Fase_Codigo,(ITP_QUANTIDADE-ITP_QTDEPRODUZ' +
        'IDA) as Saldo '
      'from ItemProducao i, produto p '
      'where (i.Pro_Codigo=p.pro_codigo) '
      'order by i.Pro_Codigo')
    Left = 40
    Top = 418
    object tqItPROD_NUMERO: TStringField
      FieldName = 'PROD_NUMERO'
      Origin = 'INDUSTRIAL.ITEMPRODUCAO.PROD_NUMERO'
      Size = 10
    end
    object tqItPRO_CODIGO: TStringField
      FieldName = 'PRO_CODIGO'
      Origin = 'INDUSTRIAL.ITEMPRODUCAO.PRO_CODIGO'
      Size = 15
    end
    object tqItSEQUENCIA: TStringField
      FieldName = 'SEQUENCIA'
      Origin = 'INDUSTRIAL.ITEMPRODUCAO.SEQUENCIA'
      Size = 5
    end
    object tqItCAR_NUMERO: TStringField
      FieldName = 'CAR_NUMERO'
      Origin = 'INDUSTRIAL.ITEMPRODUCAO.CAR_NUMERO'
      Size = 6
    end
    object tqItPED_NUMERO: TStringField
      FieldName = 'PED_NUMERO'
      Origin = 'INDUSTRIAL.ITEMPRODUCAO.PED_NUMERO'
      Size = 9
    end
    object tqItPED_ITEM: TStringField
      FieldName = 'PED_ITEM'
      Origin = 'INDUSTRIAL.ITEMPRODUCAO.PED_ITEM'
      Size = 2
    end
    object tqItITP_QUANTIDADE: TFloatField
      FieldName = 'ITP_QUANTIDADE'
      Origin = 'INDUSTRIAL.ITEMPRODUCAO.ITP_QUANTIDADE'
    end
    object tqItITP_QTDEPRODUZIDA: TFloatField
      FieldName = 'ITP_QTDEPRODUZIDA'
      Origin = 'INDUSTRIAL.ITEMPRODUCAO.ITP_QTDEPRODUZIDA'
    end
    object tqItITP_FASE: TStringField
      FieldName = 'ITP_FASE'
      Origin = 'INDUSTRIAL.ITEMPRODUCAO.ITP_FASE'
      Size = 1
    end
    object tqItFASE_PROCODIGO: TStringField
      FieldName = 'FASE_PROCODIGO'
      Origin = 'INDUSTRIAL.ITEMPRODUCAO.FASE_PROCODIGO'
      Size = 15
    end
    object tqItFASE_SEQUENCIA: TStringField
      FieldName = 'FASE_SEQUENCIA'
      Origin = 'INDUSTRIAL.ITEMPRODUCAO.FASE_SEQUENCIA'
      Size = 5
    end
    object tqItITP_VARIACAO: TStringField
      FieldName = 'ITP_VARIACAO'
      Origin = 'INDUSTRIAL.ITEMPRODUCAO.ITP_VARIACAO'
      Size = 1
    end
    object tqItPRO_NOME: TStringField
      FieldName = 'PRO_NOME'
      Origin = 'INDUSTRIAL.PRODUTO.PRO_NOME'
      Size = 70
    end
    object tqItSALDO: TFloatField
      FieldName = 'SALDO'
      Origin = 'INDUSTRIAL.ITEMPRODUCAO.ITP_QUANTIDADE'
    end
    object tqItFASE_CODIGO: TStringField
      FieldName = 'FASE_CODIGO'
      Origin = 'INDUSTRIAL.PRODUTO.FASE_CODIGO'
      Size = 2
    end
  end
  object dsp: TDataSetProvider
    Left = 64
    Top = 266
  end
  object CDS: TClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'dsp'
    Left = 104
    Top = 266
  end
  object Resumo: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 104
    Top = 458
    object ResumoPro_Codigo: TStringField
      FieldName = 'Pro_Codigo'
    end
    object ResumoQuantidade: TFloatField
      FieldName = 'Quantidade'
    end
    object ResumoQtdeProduzida: TFloatField
      FieldName = 'QtdeProduzida'
    end
    object ResumoSaldo: TFloatField
      FieldName = 'Saldo'
    end
  end
end
